<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <form class="well form-inline margin-top-20" method="post" action="">
        <a href="{:url('sign_up/refund',array('sign_up_id'=>input('id')))}" class="btn btn-primary js-ajax-dialog-btn" data-msg="确定全部退费吗？">全部退费退课</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>学员姓名</th>
                <th>身份证号</th>
                <th>年龄</th>
                <th>生日</th>
                <th>报名时间</th>
                <th>是否首次报名</th>
                <th>报名费用</th>
                <th>签到次数</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.user.name}</td>
                    <td>{$vo.user.id_card}</td>
                    <td>{:calculateAge($vo.user.birthday)}</td>
                    <td>{$vo.user.birthday}</td>
                    <td>{$vo.sign_up_time}</td>
                    <td><if $vo.is_first>是<else/>否</if></td>
                    <td>{$vo.amount}</td>
                    <td>{$vo.check_num}</td>
                    <td>{$vo.status_text}</td>
                    <td>
                        <a class="btn btn-xs btn-primary" href="javascript:parent.openIframeLayer('{:url('sign_up/check_list',array('sign_up_id'=>input('id'),'user_id'=>$vo.user.id))}','签到记录',{area:['20%','50%']});">签到记录</a>

                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>